package top.hiai.model.base;

import com.jfinal.plugin.activerecord.IBean;
import com.jfinal.plugin.activerecord.Model;

/**
* @Author www.hiai.top
* @Email  goodsking@163.com
* @Message 更多资源尽在www.hiai.top,开发者：黄康权
* @Introduction 类的介绍
*/

@SuppressWarnings("serial")
public abstract class SessionBase<M extends SessionBase<M>> extends Model<M> implements IBean {

	public void setId(java.lang.String id) {
		set("id", id);
	}
	
	public java.lang.String getId() {
		return getStr("id");
	}

	public void setAccountId(java.lang.Integer user_id) {
		set("user_id", user_id);
	}
	
	public java.lang.Integer getAccountId() {
		return getInt("user_id");
	}

	public void setExpireAt(java.lang.Long expireAt) {
		set("expireAt", expireAt);
	}
	
	public java.lang.Long getExpireAt() {
		return getLong("expireAt");
	}
}
